#ifndef HUT_H
#define HUT_H

#include "Building.h"
#include "Timer.hpp"

class Hut : public Building
{
static double HutSize;

// The the threshold that the peasant generatorn level
// must cross before a 
static int UnitThreshold;

// The level of generation of a peasant this building is at. 
int GenerationLevel;

Timer GenerationTimer;

public:
	Hut(Vector2D position);
	void Update(double time_elapsed);
	void Render();
 
	// Continually builds up a peasant. When the generation level goes
	// above the UnitThreashold, it creates a new peasant.
	void ProducePeasant(double rate);

};

#endif